package co.edu.usbcali.prototipobeta.dataaccess.dao;

import co.edu.usbcali.prototipobeta.modelo.Medicina;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for MedicinaDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IMedicinaDAO {
    public void save(Medicina instance);

    public void delete(Medicina instance);

    public void update(Medicina instance);

    public Medicina findById(Long id);

    public List<Medicina> findByExample(Medicina instance);

    public List<Medicina> findByProperty(String propertyName, Object value);

    public List<Medicina> findAll();

    public List<Medicina> findByCriteria(String whereCondition);

    public List<Medicina> findPageMedicina(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberMedicina();

    public List<Medicina> findByMedId(Object medId);

    public List<Medicina> findByMedNombre(Object medNombre);
}
